<script setup>

import SvgIcon from "../../components/icon/SvgIcon.vue";
</script>

<template>
  <div>
    <div>使用img标签</div>
    <img src="../../assets/icons/svg/apple.svg" alt=""/>
    
    <br>
    <br>
    <div>使用自定义的SvgIcon组件</div>
    <svg-icon icon-class="apple"/>
    <svg-icon icon-class="apple" size="2em" color="red"/>
    <svg-icon icon-class="apple" size="3em" color="green"/>
    <svg-icon icon-class="aigc" size="3em" color="lightblue"/>
  </div>
</template>

<style scoped>

</style>